package com.luculent.base;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.luculent.result.Response;

@Controller 
@RequestMapping("/error")
public class ErrorController extends Send{

    @RequestMapping("/msg")
    @ResponseBody
    String home() {
    	Response response = new Response(); 
		response.head.rtnCode = "900004"; 
    	response.head.rtnMsg = "请输入iw-apikey或iw-cmd";
    	return response.toJson(); 
    } 
}